package br.ufpb.di.ppgi.persistencia.domainstore;

import br.com.caelum.vraptor.ioc.ApplicationScoped;
import br.com.caelum.vraptor.ioc.Component;

@ApplicationScoped
@Component
public class DomainStoreConfiguration {
	private boolean autoCommit = false;
	private boolean autoRollback = true;

	public boolean isAutoCommit() {
		return autoCommit;
	}
	
	public void setAutoCommit(boolean autoCommit){
		this.autoCommit = autoCommit;
	}
	
	public boolean isAutoRollback() {
		return autoRollback;
	}
	
	public void setAutoRollback(boolean autoRollback) {
		this.autoRollback = autoRollback;
	}
}
